Overview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Field Summary | |
static int | LOGICAL_FIRST
Constant used to locate the first logical object in the container. |
static int | LOGICAL_LAST
Constant used to locate the last logical object in the container. |
static int | LOGICAL_NEXT
Constant used to locate the object logically next of the object passed in. |
static int | LOGICAL_PREVIOUS
Constant used to locate the object logically previous of the object passed in. |
static int | POSITION_ABOVE
Constant used to locate the object physically above the object passed in. |
static int | POSITION_BELOW
Constant used to locate the object physically below the object passed in. |
static int | POSITION_FIRST
Constant used to locate the first physical object in the Container |
static int | POSITION_LAST
Constant used to locate the last physical object in the Container |
static int | POSITION_LEFT
Constant used to locate the object physically to the left of the object passed in. |
static int | POSITION_RIGHT
Constant used to locate the object physically to the right of the object passed in. |
Method Summary | |
java.awt.Component | getFocusTraversable(java.awt.Component comp,
int direction)
Determine the focusable object in the given relative focus direction from the Component passed in. |
java.awt.Component | getFocusTraversable(int pos)
Determine the first or last object in the Container that accepts focus. |
java.awt.Component | locate(java.awt.Component comp,
int direction)
Determine the object in the given relative direction from the Component passed in. |
java.awt.Component | locate(java.awt.Point p,
int direction)
Determine the object in the given relative direction from the Point passed in. |
java.awt.Component | locate(int pos)
Determine the first or last object in the Container. |
Field Detail |
public static final int LOGICAL_PREVIOUS
public static final int LOGICAL_NEXT
public static final int LOGICAL_FIRST
public static final int LOGICAL_LAST
public static final int POSITION_ABOVE
public static final int POSITION_BELOW
public static final int POSITION_LEFT
public static final int POSITION_RIGHT
public static final int POSITION_FIRST
public static final int POSITION_LAST
Method Detail |
public java.awt.Component locate(java.awt.Component comp, int direction)
comp
- the Component
direction
- the direction to look inpublic java.awt.Component locate(java.awt.Point p, int direction)
p
- Point in screen coordinates
direction
- the direction to look inpublic java.awt.Component locate(int pos)
pos
- -- either POSITION_FIRST, POSITION_LAST,
LOGICAL_FIRST, or LOGICAL_LASTpublic java.awt.Component getFocusTraversable(java.awt.Component comp, int direction)
comp
- the Component
pos
- -- either POSITION_PREVIOUS, POSITION_NEXT,
LOGICAL_PREVIOUS, or LOGICAL_NEXTpublic java.awt.Component getFocusTraversable(int pos)
pos
- -- either POSITION_FIRST, POSITION_LAST,
LOGICAL_FIRST, or LOGICAL_LASTOverview | Package | Class | Tree | Deprecated | Index | Help |
Java Platform 1.1.7 |
||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |